<template>
  <div class="slidev-layout cover">
    <img class="logo" src="../assets/logo.png">
    <div class="content">
      <slot />
    </div>
  </div>
</template>

<style lang="postcss">
.slidev-layout.cover {
  background-image: url('../assets/cover.png');
  background-size: cover;
  background-position: center;
  padding: 55px 0 0;

  .logo {
    display: block;
    margin: 0 auto 30px;
    width: 400px;
  }

  .content {
    height: 205px;
    background-color: rgba(255, 255, 255, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 28px;
    color: black;
  }

  h1 {
    margin: 80px 0 25px;
    line-height: 40px;
    font-size: 60px;
    font-weight: bold;
  }

  p {
    margin: 16px 0;
    line-height: 24px;
  }
}
</style>
